package com.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.configure.Result;
import com.hospital.entity.CaseInfo;
import com.hospital.entity.Registered;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WuLiting
 * @since 2021-03-24
 */
public interface CaseInfoService extends IService<CaseInfo> {

    Result<CaseInfo> updateCaseInfo(CaseInfo caseInfo);

    Result<CaseInfo> delCaseInfo(CaseInfo caseInfo);

    Result<CaseInfo> batchDelCaseInfo(CaseInfo caseInfo);

    Result<CaseInfo> queryCaseInfo(CaseInfo caseInfo);

    Result queryCaseInfoByPage(CaseInfo caseInfo);

    Result<CaseInfo> queryCaseInfoById(CaseInfo caseInfo);

    Result<Registered> queryRegisteredUserByDoctorId(@RequestBody Registered registered);

    Result<CaseInfo> caseInfoPay(CaseInfo caseInfo);

}
